import os
import sys
import time


#os.unlink("fifo")
#os.mkfifo("fifo")


#ff = open ('fifo', 'w')

#count = 0
count = 0
while True:
    tstr = str(time.time())
    cmd = "echo " + tstr + ">" + "fifo"
    os.system(cmd)
    #ff.write(str(time.time()))
    #ff.flush()
    print ("aaa")
    time.sleep(1)

